package com.syni.mdd.yhd.common.all.listen.groupBuy;

import com.syni.mdd.yhd.common.all.entity.BmsDxGroupBuy;
import com.syni.mdd.yhd.common.all.entity.BmsDxGroupBuyUse;
import com.syni.mdd.yhd.common.all.entity.BmsDxOrder;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * @className OrderListener
 * @description TOO
 * @Author cfx
 * @DATE 2019/8/8 15:46
 * @VERSION 1.0
 **/
@Data
public class GroupBuyEvent extends ApplicationEvent {
    private BmsDxOrder bmsDxOrder;
    private List<BmsDxGroupBuyUse> bmsDxGroupBuyUse;

    public GroupBuyEvent(Object source, BmsDxOrder bmsDxOrder, List<BmsDxGroupBuyUse> bmsDxGroupBuyUse) {
        super(source);
        this.bmsDxOrder = bmsDxOrder;
        this.bmsDxGroupBuyUse = bmsDxGroupBuyUse;
    }
}
